package edu.lingnan.lmlibrary.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import edu.lingnan.lmlibrary.entity.Seat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
@ApiModel("楼层座位信息")
public class FloorSeats {
    @JsonProperty("fNum")
    @ApiModelProperty("楼层编号")
    private String fNum;
    @JsonProperty("dName")
    @ApiModelProperty("桌子名称，即第几张桌子")
    private String dName;
//    @ApiModelProperty("每张桌子对应的座位信息")
    private List<Seat> seatArrays;
}
